package com.xja.entity;

/**
 * @projectName: HotelManager
 * @package: com.xja.entity
 * @className: WorkPeople
 * @author: WenLiang0214
 * @description:工作人员实体类
 * @date: 2022/5/5 19:05
 */
public class WorkPeople {
    //工作人员ID
    private Integer workPeopleId;
    //工作人员姓名
    private String workPeopleName;
    //工作人员电话号
    private String workPeoplePhone;
    //工作人员性别
    private String workPeopleGender;
    //工作人员身份证号
    private String workPeopleCard;
    //工作人员工种
    private String workPeopleType;
    //工作人员月收入
    private Integer workPeopleMonthSalary;
    //工作人员等级
    private Integer workPeopleLevel;

    //全参构造
    public WorkPeople(Integer workPeopleId, String workPeopleName, String workPeoplePhone, String workPeopleGender, String workPeopleCard, String workPeopleType, Integer workPeopleMonthSalary, Integer workPeopleLevel) {
        this.workPeopleId = workPeopleId;
        this.workPeopleName = workPeopleName;
        this.workPeoplePhone = workPeoplePhone;
        this.workPeopleGender = workPeopleGender;
        this.workPeopleCard = workPeopleCard;
        this.workPeopleType = workPeopleType;
        this.workPeopleMonthSalary = workPeopleMonthSalary;
        this.workPeopleLevel = workPeopleLevel;
    }

    //去掉Id属性的带参构造
    public WorkPeople(String workPeopleName, String workPeoplePhone, String workPeopleGender, String workPeopleCard, String workPeopleType, Integer workPeopleMonthSalary, Integer workPeopleLevel) {
        this.workPeopleName = workPeopleName;
        this.workPeoplePhone = workPeoplePhone;
        this.workPeopleGender = workPeopleGender;
        this.workPeopleCard = workPeopleCard;
        this.workPeopleType = workPeopleType;
        this.workPeopleMonthSalary = workPeopleMonthSalary;
        this.workPeopleLevel = workPeopleLevel;
    }

    //无参构造
    public WorkPeople() {
    }

    public Integer getWorkPeopleId() {
        return workPeopleId;
    }

    public void setWorkPeopleId(Integer workPeopleId) {
        this.workPeopleId = workPeopleId;
    }

    public String getWorkPeopleName() {
        return workPeopleName;
    }

    public void setWorkPeopleName(String workPeopleName) {
        this.workPeopleName = workPeopleName;
    }

    public String getWorkPeoplePhone() {
        return workPeoplePhone;
    }

    public void setWorkPeoplePhone(String workPeoplePhone) {
        this.workPeoplePhone = workPeoplePhone;
    }

    public String getWorkPeopleGender() {
        return workPeopleGender;
    }

    public void setWorkPeopleGender(String workPeopleGender) {
        this.workPeopleGender = workPeopleGender;
    }

    public String getWorkPeopleCard() {
        return workPeopleCard;
    }

    public void setWorkPeopleCard(String workPeopleCard) {
        this.workPeopleCard = workPeopleCard;
    }

    public String getWorkPeopleType() {
        return workPeopleType;
    }

    public void setWorkPeopleType(String workPeopleType) {
        this.workPeopleType = workPeopleType;
    }

    public Integer getWorkPeopleMonthSalary() {
        return workPeopleMonthSalary;
    }

    public void setWorkPeopleMonthSalary(Integer workPeopleMonthSalary) {
        this.workPeopleMonthSalary = workPeopleMonthSalary;
    }

    public Integer getWorkPeopleLevel() {
        return workPeopleLevel;
    }

    public void setWorkPeopleLevel(Integer workPeopleLevel) {
        this.workPeopleLevel = workPeopleLevel;
    }

    @Override
    public String toString() {
        return "WorkPeople{" +
                "workPeopleId=" + workPeopleId +
                ", workPeopleName='" + workPeopleName + '\'' +
                ", workPeoplePhone='" + workPeoplePhone + '\'' +
                ", workPeopleGender='" + workPeopleGender + '\'' +
                ", workPeopleCard='" + workPeopleCard + '\'' +
                ", workPeopleType='" + workPeopleType + '\'' +
                ", workPeopleMonthSalary=" + workPeopleMonthSalary +
                ", workPeopleLevel=" + workPeopleLevel +
                '}';
    }
}
